<?php
$this->headTitle('Xóa dự án','append');
?>
<div class="grid grid_7">
    <div class="box-header">Xóa dự án</div>
    <div class="box">
        <?php 
            if(isset($this->mess)){
                echo '<div class="notification error"><span class="strong">',$this->mess,'</span></div>';
                echo '<span onclick="window.history.back();" style="display: block;width: 100px; height: 20px; margin: 40px auto 70px auto; cursor: pointer;text-align: center;color: #1f92ff;">&laquo; Quay lại</span>';
            }else{
        ?>
            <p>Bạn có chắc chắn muốn xoá dự an '<?php echo $this->escape($this->project['projectName']); ?>' ? </p>
            <form action="<?php echo $this->url(array ('controller'=>'project',  'action' => 'delete' )); ?>" method="post">
                <div>
                    <input type="hidden" name="projectId" value="<?php echo $this->project['projectId']; ?>" /> 
                    <input type="submit" name="del" value="Có" class="cursor-pointer"/> 
                    <input type="submit" name="del" value="Không" class="cursor-pointer"/>
                </div>
            </form>
        <?php } ?>
    </div>
</div>

